/* ServerApp.java 
* Created on Dec 20, 2012 
* Author:Mr.Viet
* Phone: 01683430426
* Email: phamvanvietcdhd@gmail.com
*/ 
package com.session9; 

import java.io.IOException;
import java.net.ServerSocket;

public class ServerApp {
	private ServerSocket server;
	
	public ServerApp() {
		
	}
	
	public void createServer(){
		try {
			server = new ServerSocket(1000);
			System.out.println("Server is running");
			//Lang Nghe Cac Ket Noi Tu Client
			
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	public static void main(String[] args) {

	}

}
